<template>
  <div>
   <jzt-menu :menuData="menuData" />
  </div>
</template>
<script setup>
import {ref} from 'vue'
const menuData = ref([
  {
    menu_id: "111",
    menu_name: "菜单1",
    menu_icon: "",
    menu_config: "",
    menu_url: "",
    doc_url: "",
    single_tenant: "",
    single_warehouse: "",
    condition_default_way: "",
    show_condition: "",
  },
  {
    menu_id: "222",
    menu_name: "菜单2",
    menu_icon: "",
    menu_config: "",
    menu_url: "",
    doc_url: "",
    single_tenant: "",
    single_warehouse: "",
    condition_default_way: "",
    show_condition: ""
  },
  {
    menu_id: "333",
    menu_name: "菜单3",
    menu_icon: "",
    menu_config: "",
    menu_url: "",
    doc_url: "",
    single_tenant: "",
    single_warehouse: "",
    condition_default_way: "",
    show_condition: "",
    children:[
      {
        menu_id: "3331",
        menu_name: "菜单3-1",
        menu_icon: "",
        menu_config: "",
        menu_url: "",
        doc_url: "",
        single_tenant: "",
        single_warehouse: "",
        condition_default_way: "",
        show_condition: "",
      },
      {
        menu_id: "3332",
        menu_name: "菜单3-2",
        menu_icon: "",
        menu_config: "",
        menu_url: "",
        doc_url: "",
        single_tenant: "",
        single_warehouse: "",
        condition_default_way: "",
        show_condition: "",
      },
      {
        menu_id: "3333",
        menu_name: "菜单3-3",
        menu_icon: "",
        menu_config: "",
        menu_url: "",
        doc_url: "",
        single_tenant: "",
        single_warehouse: "",
        condition_default_way: "",
        show_condition: "",
      }
    ]
  },
  {
    menu_id: "444",
    menu_name: "菜单4",
    menu_icon: "",
    menu_config: "",
    menu_url: "",
    doc_url: "",
    single_tenant: "",
    single_warehouse: "",
    condition_default_way: "",
    show_condition: "",
    children:[
      {
        menu_id: "44441",
        menu_name: "菜单4-1",
        menu_icon: "",
        menu_config: "",
        menu_url: "",
        doc_url: "",
        single_tenant: "",
        single_warehouse: "",
        condition_default_way: "",
        show_condition: "",
      },
      {
        menu_id: "44442",
        menu_name: "菜单4-2",
        menu_icon: "",
        menu_config: "",
        menu_url: "",
        doc_url: "",
        single_tenant: "",
        single_warehouse: "",
        condition_default_way: "",
        show_condition: "",
      },
      {
        menu_id: "44443",
        menu_name: "菜单4-3",
        menu_icon: "",
        menu_config: "",
        menu_url: "",
        doc_url: "",
        single_tenant: "",
        single_warehouse: "",
        condition_default_way: "",
        show_condition: "",
      }
    ]
  },
]);
</script>


